import {createRouter,createWebHashHashHistory} from 'vue-router';
import Home from './views/home.vue';
import About from './views/about.vue';
const router=createRouter({
    history:createWebHashHashHistory(),
    routes:[
        {path:'/',component:Home},
        {
            path:'/about',
            component:About,
            name:'About',
        }
    ]
})
export default  router;